package cn.csust.net2.manager.shared.po;

import java.io.Serializable;
import java.util.Date;

import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

import com.extjs.gxt.ui.client.data.BeanModelTag;

public class FileLoadNotification extends PO implements Serializable,BeanModelTag {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer fileLoadNotificationID;
	private Academy academy;
	private FileNotification fileNotification;
	private Date pushDate ;
	private String fileUrl;
	private String fileName;
	public Integer getFileLoadNotificationID() {
		return fileLoadNotificationID;
	}
	public void setFileLoadNotificationID(Integer fileLoadNotificationID) {
		this.fileLoadNotificationID = fileLoadNotificationID;
	}
	public Academy getAcademy() {
		return academy;
	}
	public void setAcademy(Academy academy) {
		this.academy = academy;
	}
	public FileNotification getFileNotification() {
		return fileNotification;
	}
	public void setFileNotification(FileNotification fileNotification) {
		this.fileNotification = fileNotification;
	}
	public String getFileUrl() {
		return fileUrl;
	}
	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	protected XmlInfo getXmlInfo(XmlResources instance) {
		XmlInfo xmlInfo = new XmlInfo();
		xmlInfo.setTextResource(instance.fileLoadNotification());
		return xmlInfo;
	}
	public Date getPushDate() {
		return pushDate;
	}
	public void setPushDate(Date pushDate) {
		this.pushDate = pushDate;
	}
	
}
